import request from '@/utils/request'

export function gender(params) {
  return request({
    url: 'api/statistics/gender',
    method: 'get',
    params
  })
}

export function nation(params) {
  return request({
    url: 'api/statistics/nation/',
    method: 'get',
    params
  })
}

export function political(params) {
  return request({
    url: 'api/statistics/political/',
    method: 'get',
    params
  })
}

export function genderTeacher() {
  return request({
    url: 'api/statistics/teacher/gender',
    method: 'get'
  })
}

export function nationTeacher(params) {
  return request({
    url: 'api/statistics/teacher/nation/',
    method: 'get',
    params
  })
}

export function politicalTeacher(params) {
  return request({
    url: 'api/statistics/teacher/political/',
    method: 'get',
    params
  })
}

export function industryTeacher(params) {
  return request({
    url: 'api/statistics/teacher/industry/',
    method: 'get',
    params
  })
}

export function deptTeacher(params) {
  return request({
    url: 'api/statistics/teacher/dept/',
    method: 'get',
    params
  })
}

export function collegeStatisticDetail(params) {
  return request({
    url: '/api/college/detail/statistic',
    method: 'get',
    params
  })
}

export function stuTeacherIncreased(params) {
  return request({
    url: '/api/statistics/stuTeacherIncreased',
    method: 'get',
    params
  })
}

export default { gender, nation, political, genderTeacher, nationTeacher, politicalTeacher, industryTeacher, deptTeacher, collegeStatisticDetail, stuTeacherIncreased }
